package com.itheima.service;

import com.itheima.dao.UserDao;
import com.itheima.entiry.User;

import java.util.List;


public class UserService {
    private UserDao userDao = new UserDao();
    public List<User> findNameByPrefix(String name){
        return userDao.findNameBuPrefix(name);
    }
}